<!DOCTYPE html>
<html lang="en">
<head>
    <title>设置</title>
    <%- include('../../_global/baseLibs') %>
    <script type="text/javascript" src="/static/lib/util.js"></script>
</head>
<body>

<section class="page-wrap page-user">
    <!-- header start -->
    <header id="header" class="header-box grey fixed" >
        <div class="header-content">
            <div class="left-tool">
                <a class="back" href="javascript:void(0)"><i class="iconfont icon-back"></i></a>
            </div>
            <div class="title">设置</div>
        </div>
    </header>
    <!-- header end -->

    <!--内容-->
    <aside class="plane-box first">
        <ul class="default-list">
            <li class="runDiv" module="userChangePass">
                <!-- onclick="jump('/html/gzd/login/userChangePass.html','修改密码')" -->
                <a >
                    <div class="item-inner">
                        <div class="item-content">修改密码</div>
                        <div class="item-after">
                            <i class="iconfont icon-more"></i>
                        </div>
                    </div>
                </a>
            </li>
            <li class="runDiv" module="userAdvice">
                <!-- onclick="jump('/html/healthapp/selfCenter/userAdvice.html','意见反馈')" -->
                <a >
                    <div class="item-inner">
                        <div class="item-content">意见反馈</div>
                        <div class="item-after">
                            <i class="iconfont icon-more"></i>
                        </div>
                    </div>
                </a>
            </li>
            <li class="runDiv"  module="usersAgreement">
                <!-- onclick="jump('/html/healthapp/selfCenter/usersAgreement.html','用户协议')" -->
                <a >
                    <div class="item-inner">
                        <div class="item-content">用户协议</div>
                        <div class="item-after">
                            <i class="iconfont icon-more"></i>
                        </div>
                    </div>
                </a>
            </li>
            <li class="runDiv" module="userAboutUs">
                <!-- onclick="jump('/html/healthapp/selfCenter/userAboutUs.html','关于城市')" -->
                <a >
                    <div class="item-inner">
                        <div class="item-content">关于城市</div>
                        <div class="item-after">
                            <i class="iconfont icon-more"></i>
                        </div>
                    </div>
                </a>
            </li>
        </ul>
    </aside>

    <aside class="plane-box">
        <ul class="default-list quite-list">
            <li id="quite">
                <a>
                    <div class="item-inner">
                        <div class="item-content">退出登陆</div>
                    </div>
                </a>
            </li>
        </ul>
    </aside>
    <!--内容END-->

</section>
<script type="text/javascript">
    var page_setting = (function($, page_setting) {

        /*默认配置*/
        var cfg_def = {
            /*退出按钮回调*/
            quiteClickHandler: quiteClickHandler
        }

        page_setting.setCfg = function(cfg){
            $.extend(page_setting, cfg_def, cfg);
        }

        page_setting.init = function(){
            $.pageSwitch.clickToUrl(".plane-box","userSetting");
            $("#quite").on('click', page_setting.quiteClickHandler);
        }
        return page_setting;

        function quiteClickHandler(){
            clearCookis();
            $.pageSwitch.goToUrl("beforLogin", "login");
        }
    })(jQuery, {});
</script>
</body>

</html>